<div class="coreUsers form">
    <?php echo $this->Form->create('CoreUser'); ?>
    <fieldset>
        <legend><?php echo __('Add Core User'); ?></legend>
        <?php
        echo $this->Form->input('cous_user');
        echo $this->Form->input('cous_password', array('type' => 'password'));
        echo $this->Form->input('cous_email', array('type' => 'email'));
        echo $this->Form->input('cous_status', array('options' => array('a' => __('Active'), 'i' => __('Inactive')), 'default' => 'a'));
        //echo $this->Form->input('cous_status');

        echo $this->Form->input('CoreGroups.cogr_id', array(
            'label' => __('Groups'),
            'type' => 'select',
            'multiple' => 'checkbox',
            'options' => $groups
        ));
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>

        <li><?php echo $this->Html->link(__('List Core Users'), array('action' => 'index')); ?></li>
    </ul>
</div>
